﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using XianboSite.Models;

namespace XianboSite.Controllers
{
    public class AttentionController : Controller
    {
        //
        // GET: /Attention/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Add(FormCollection collection)
        {
            string liveid = collection["liveid"];
            string userid = collection["userid"];
            DataAccess.AddAttention(liveid, userid);
            return View();
        }

    }
}
